home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / ForCLI / baseconv.lha / baseconv.doc < prev   
Text File  |  1993-09-10  |  2KB  |  46 lines

  1. ***********************************************************************
  2. *                                                                     *
  3. *                            BASECONV v1.0                            *
  4. *                                                                     *
  5. *                       © 1993, Xavier Sirvent                        *
  6. *                                                                     *
  7. ***********************************************************************
  8.  
  9. COPYRIGHT
  10. ----------
  11.     The program "baseconv" is Freeware. You can copy and use baseconv
  12. without any restrictions.  You can use all or a part of the source in your
  13. own programs. You must *NOT* sell it, but you are encouraged to spread it!
  14.  
  15.  
  16. INTRODUCTION
  17. ------------
  18.     Each time I needed to convert a number from one base to another, I had
  19. to use a pocket calculator, pen and a piece of paper, and I always
  20. said to myself: "I should make a program to do this for me."  But I am
  21. a lazy man and so I never did it.  One day, I decided to take the bull by
  22. the horns, and this is the result.
  23.  
  24.     Originally, it was only supposed to convert a number given in base
  25. 2, 8, 10 or 16, but in fact, it will convert to and from any base between
  26. 2 and 36.  Only the character set used to represent a given number of a
  27. given base limits the number of possible bases.  To be sure that there are
  28. no problems in displaying a number, I arbitrarily limit the program to
  29. bases between 2 and 36. I don't know if it's of any use to go up to base 36,
  30. but it doesn't make the code any longer, so why not?
  31.  
  32.  
  33. HOW TO USE
  34. ----------
  35.     baseconv <base from> <base to> <number> [<number>...]
  36. Where <base from> and <base to> must be numbers between 2 and 36,
  37. and where <number> must be lower than 2^32
  38.  
  39.  
  40. AUTHOR
  41. ------
  42.     Xavier SIRVENT
  43.     71 Cours Saint André
  44.     38800 - Le Pont de Claix
  45.     (33) 76-40-98-06
  46.